import {
  GET,
  POST
} from '../framework/utils/request';


// 进行中订单列表查询接口
export async function getInBeeUserOrderList(params) {
  return await GET('/order/getInBeeUserOrderList.do', params);
}
// 最新任务订单列表查询接口
export async function getNewTaskOrderLists(params) {
  return await GET('/order/getNewTaskOrderLists.do', params);
}
// 订单详情查询接口
export async function getOrderDetail(data) {
  return await GET('/order/getOrderDetail.do', data);
}
// 接单剩余时间查询接口
export async function getReceiveOrderRemainingTime(params) {
  return await GET('/order/getReceiveOrderRemainingTime.do', params);
}
// 抢单接口
export async function robOrder(data) {
  return await GET('/order/robOrder.do', data);
}
// 我已到达接口
export async function haveArrived(data) {
  return await POST('/order/haveArrived.do', data);
}